package com.bzframework.core.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bzframework.core.entity.GenericEntity;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @Author bingzhong
 * @Date 2025/11/2
 */
@TableName("bz_user")
public class UserEntity extends GenericEntity<String> {

    @Schema(description = "微信openid")
    private String openid;

    @Schema(description = "微信unionid")
    private String unionid;

    @Schema(description = "账户")
    private String username;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "头像地址")
    private String avatar;

    @Schema(description = "电话")
    private String phone;

    @Schema(description = "状态：0-禁用，1-正常")
    private Integer status;

}
